package com.pinyoumei.app.activity.integral;

import java.math.BigDecimal;

/**
 * Created by Administrator on 2021-09-01.
 * --------- 日期 ------- 维护人 ------------ 变更内容 --------
 * 2021-09-01        Administrator             新增Person类
 * 2021-09-01        Administrator             增加sex属性
 */
public class IntegralOrderPayBean {


    /**
     * code : 1
     * errors : {}
     * msg : 加载成功
     * result : {"user_balance":100,"default_address":{"address_area":"湖南省长沙市雨花区德思勤城市广场","address_detail":"B5栋12楼","recieve_name":"胡三炮垃圾","user_id":"4c3dcd469f894c5689b1c96e74716cda","id":"1","is_default":1,"recieve_phone":"18286865258"},"goods_info":{"goods_name":"溪谷珍香米2.5kg","buy_num":1,"goods_price":99.98,"goods_img":"https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1630319945642.jpg"},"total_price":99.98,"coupon_desc":"暂无可用优惠券"}
     */

    private int code;
    private ErrorsBean errors;
    private String msg;
    private ResultBean result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ErrorsBean getErrors() {
        return errors;
    }

    public void setErrors(ErrorsBean errors) {
        this.errors = errors;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ErrorsBean {
    }

    public static class ResultBean {

        private DefaultAddressDto default_address;
        private GoodsInfoDto goods_info;
        private String total_price;
        private String total_score;

        public DefaultAddressDto getDefault_address() {
            return default_address;
        }

        public void setDefault_address(DefaultAddressDto default_address) {
            this.default_address = default_address;
        }

        public GoodsInfoDto getGoods_info() {
            return goods_info;
        }

        public void setGoods_info(GoodsInfoDto goods_info) {
            this.goods_info = goods_info;
        }

        public String getTotal_price() {
            return total_price;
        }

        public void setTotal_price(String total_price) {
            this.total_price = total_price;
        }

        public String getTotal_score() {
            return total_score;
        }

        public void setTotal_score(String total_score) {
            this.total_score = total_score;
        }

        public static class DefaultAddressDto {
                private String address_area;//": "天津市天津市北辰区",
                private String address_detail;//": "小淀镇刘安庄村",
                private String recieve_name;//": "李娅丽",
                private String user_id;//": "67683870bcfd4fe0b6aa99883a5b63b2",
                private String id;//": "00432da5a1954628b08d72dbc28976ca",
                private String is_default;//": 1,
                private String recieve_phone;//": "13516233393"

            public String getAddress_area() {
                return address_area;
            }

            public void setAddress_area(String address_area) {
                this.address_area = address_area;
            }

            public String getAddress_detail() {
                return address_detail;
            }

            public void setAddress_detail(String address_detail) {
                this.address_detail = address_detail;
            }

            public String getRecieve_name() {
                return recieve_name;
            }

            public void setRecieve_name(String recieve_name) {
                this.recieve_name = recieve_name;
            }

            public String getUser_id() {
                return user_id;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getIs_default() {
                return is_default;
            }

            public void setIs_default(String is_default) {
                this.is_default = is_default;
            }

            public String getRecieve_phone() {
                return recieve_phone;
            }

            public void setRecieve_phone(String recieve_phone) {
                this.recieve_phone = recieve_phone;
            }
        }

        public static class GoodsInfoDto {
            private String goods_name;//": "积分测试商品",
            private String buy_num;//": 1,
            private String need_score;//": 100,
            private String goods_img;//": "https://pym-oss.oss-cn-shenzhen.aliyuncs.com/1634263293633.png"

            public String getGoods_name() {
                return goods_name;
            }

            public void setGoods_name(String goods_name) {
                this.goods_name = goods_name;
            }

            public String getBuy_num() {
                return buy_num;
            }

            public void setBuy_num(String buy_num) {
                this.buy_num = buy_num;
            }

            public String getNeed_score() {
                return need_score;
            }

            public void setNeed_score(String need_score) {
                this.need_score = need_score;
            }

            public String getGoods_img() {
                return goods_img;
            }

            public void setGoods_img(String goods_img) {
                this.goods_img = goods_img;
            }
        }
    }
}
